package com.ims.core.doc.mapper;

import java.util.List;
import com.ims.core.doc.domain.TInDeductionStatApplyResult;
import com.ims.core.doc.domain.TInDeductionStatApplyResultEntry;

/**
 * 统计表申请结果Mapper接口
 * 
 * @author IMS
 * @date 2024-12-11
 */
public interface TInDeductionStatApplyResultMapper 
{
    /**
     * 查询统计表申请结果
     * 
     * @param id 统计表申请结果主键
     * @return 统计表申请结果
     */
    public TInDeductionStatApplyResult selectTInDeductionStatApplyResultById(Long id);

    /**
     * 查询统计表申请结果列表
     * 
     * @param tInDeductionStatApplyResult 统计表申请结果
     * @return 统计表申请结果集合
     */
    public List<TInDeductionStatApplyResult> selectTInDeductionStatApplyResultList(TInDeductionStatApplyResult tInDeductionStatApplyResult);

    /**
     * 新增统计表申请结果
     * 
     * @param tInDeductionStatApplyResult 统计表申请结果
     * @return 结果
     */
    public int insertTInDeductionStatApplyResult(TInDeductionStatApplyResult tInDeductionStatApplyResult);

    /**
     * 修改统计表申请结果
     * 
     * @param tInDeductionStatApplyResult 统计表申请结果
     * @return 结果
     */
    public int updateTInDeductionStatApplyResult(TInDeductionStatApplyResult tInDeductionStatApplyResult);

    /**
     * 删除统计表申请结果
     * 
     * @param id 统计表申请结果主键
     * @return 结果
     */
    public int deleteTInDeductionStatApplyResultById(Long id);

    /**
     * 批量删除统计表申请结果
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTInDeductionStatApplyResultByIds(Long[] ids);

    /**
     * 批量删除抵扣统计明细
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTInDeductionStatApplyResultEntryByResultIds(Long[] ids);
    
    /**
     * 批量新增抵扣统计明细
     * 
     * @param tInDeductionStatApplyResultEntryList 抵扣统计明细列表
     * @return 结果
     */
    public int batchTInDeductionStatApplyResultEntry(List<TInDeductionStatApplyResultEntry> tInDeductionStatApplyResultEntryList);
    

    /**
     * 通过统计表申请结果主键删除抵扣统计明细信息
     * 
     * @param id 统计表申请结果ID
     * @return 结果
     */
    public int deleteTInDeductionStatApplyResultEntryByResultId(Long id);
}
